package com.own.business.wechat.base.exception;

import com.own.base.BaseResponseCode;
import com.own.business.wechat.base.em.WechatBaseExceptionEnum;
import com.own.component.common.exception.BusinessException;

/**
 * WechatBaseException
 *
 * @author chenxueli
 * @date 2023-06-30 10:24:01
 */
public class WechatBaseException extends BusinessException {

    public WechatBaseException() {
        super(WechatBaseExceptionEnum.DEFAULT);
    }

    public WechatBaseException(String message) {
        super(WechatBaseExceptionEnum.DEFAULT.code(), message);
    }

    public WechatBaseException(String code, String message) {
        super(code, message);
    }

    public WechatBaseException(BaseResponseCode responseCode) {
        super(responseCode);
    }
}
